import request from '@/utils/requestUtil'

// 获取所有社区服务类型
export function getServiceTypes() {
	return request({
		method: 'GET',
		url: '/police/policeservicetype/getServiceTypes',
		header: {
			'content-type': 'application/json;charset=utf-8'
		}
	})
}

// 保存社区预约记录
export function saveServiceAppointment(data) {
	return request({
		method: 'POST',
		url: '/police/policeserviceappointment',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		data: data
	})
}